package com.liuqi.business.model;

import lombok.Data;
import java.util.Date;
import java.math.BigDecimal;
import com.liuqi.base.BaseModel;
import java.io.Serializable;
import com.fasterxml.jackson.annotation.JsonFormat;

@Data
public class MiningCensusModel extends BaseModel{

	/**
	 *serialVersionUID
	 */
	private static final long serialVersionUID = 1L;


	/**
	 *用户id
	 */
	
	private Integer userId;
	
	/**
	 *本金
	 */
	
	private BigDecimal principal;
	
	/**
	 *利息
	 */
	
	private BigDecimal interest;
	
	/**
	 *总金
	 */
	
	private BigDecimal totalGold;
	
	/**
	 *统计时间
	 */
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
	private Date censusTime;
	
	/**
	 *币种id
	 */
	
	private Integer currencyId;

	/**
	 * 周期
	 */
	private Integer cycle;

	/**
	 * 利率
	 */
	private BigDecimal rate;

}
